<?php 
	header("Content-Type:text/html;charset=UTF-8");
	$reader = new XMLReader();
	$reader->open("test.xml");
	$i = 1;
	while($reader -> read()){
		if($reader->nodeType == XMLReader::TEXT){
			
			if($i % 3){
				echo $reader->value."==";
			}else{
				echo $reader->value."<br/>";
			}
			$i++;
		}

	}